package com.maniu.fluttermaniu;

import android.graphics.Bitmap;
import android.view.Surface;

public class FlutterJNI {
//    native  bitmap  --->SKBitmap ---》缓冲区
    public   native void init(Surface surface, int width, int height);
    public   native void drawBitmap(Bitmap bitmap , int left, int top);
//         文字
    public   native void drawText(String data, int left, int top);
//    刷出来
    public   native void flush();
    static {
        System.loadLibrary("skia");
        System.loadLibrary("native-lib");
    }
}
